<#include "${basePath}/common/head.html"/>
<script type="text/javascript" src="${basePath}/res/js/digitalClock/moment.min.js"></script>
<link rel="stylesheet" type="text/css" href="${basePath}/res/js/digitalClock/style2.css">
<script type="text/javascript">
	if (self != top) { //主页不允许在iframe中
		//top.window.location.reload();
	}
	//获取当前时间
	$(function(){	
		   var mydate = new Date();
		   var Week = ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'];
		   var str = "" + mydate.getFullYear() + "年";
		   str += (mydate.getMonth()+1) + "月";
		   str += mydate.getDate() + "日 ";
		   str += mydate.toLocaleTimeString(); 	   
			$("#nowTime").html(str+" "+Week[mydate.getDay()]);		
	});
	setInterval(function() {
	    var now = (new Date()).toLocaleTimeString();
	    $('#current-time').text(now);
	}, 1000);
</script>
<style type="text/css">
#pmp {
		font-family: "黑体"; 
		font-size: 18px; 
		color: #FFF; 
		text-decoration: none; 		
		border: 3px ridge #CCCCCC; 
		background-color: #09c; 
		padding-top: 8px; 
		padding-right: 5px; 
		padding-left: 5px;
		}
</style>
<div id="firsePage" class="easyui-layout"
	data-options="fit:true,border:false">
	<div data-options="region:'center',border:false"
		style="width:80%;height:100%">
	
		<iframe src="${basePath}/wms/Main/canvasPage" class="easyui-panel" data-options="" style="width:100%;height:48%"></iframe>
			
		<iframe src="${basePath}/wms/Main/listPage" class="easyui-panel" data-options="" style="width:100%;height:50%"></iframe>
			
	</div>		
	<div data-options="region:'east',border:false,split:true" title=" "
		style="width: 20%;">
		<div id="calender" class="easyui-calendar"
			style="width:100%; height: 40%; padding: 10px;">
			
		</div>
		<div id ="current-time" class="easyui-panel" align="center" style="width:100%;font-size:20px"></div>		
		<div id="e" class="easyui-panel"
			style="width: 100%;"data-options="collapsible:true">
			<div id="pmp">		
			仓库1：<br>
			温度：${template!} &#8451;<br>
			湿度：${humidity!}<br>
			仓库2：<br>
			温度：${template!} &#8451;<br>
			湿度：${humidity!}<br>
			仓库3：<br>
			温度：${template!} &#8451;<br>
			湿度：${humidity!}
			</div>
		</div>	

	</div>
</div>
<#include "${basePath}/common/dialogWindow.html"/> <#include
"${basePath}/common/foot.html"/>
